<%@ page language="java" contentType="text/html; charset=utf-8"  
    pageEncoding="utf-8"%>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
 <!-- 第一个装饰页面 -->  
    <head> 
    <style type="text/css">
      	.center{
		    margin-left: auto;
            margin-right: auto;
		}
    </style> 
 <!-- 从被装饰页面获取title标签内容,并设置默认值--> 
 <title><decorator:title default="默认title"/></title>  
 <!-- 从被装饰页面获取head标签内容 -->
         <decorator:head/>  
    </head>  
     
    <body> 
    <div class="center">
    <jsp:include page="../pages/commons/top.jsp"></jsp:include>
    </div> 
    <!--  <h2>SiteMesh装饰header</h2>    -->
    <!-- 从被装饰页面获取body标签内容 -->  
    <decorator:body/>  
    <!-- <h2>SiteMesh装饰footer</h2>   -->
    <jsp:include page="../pages/commons/botton.jsp"></jsp:include>
    </body>  
</html>  